import request from '@/utils/request'

/**
* 底板铆接组装分页查询
* @param {查询条件} data
*/
export function listDcBottomplaterivetingassemble(query) {
  return request({
    url: 'business/DcBottomplaterivetingassemble/list',
    method: 'get',
    params: query,
  })
}

/**
* 新增底板铆接组装
* @param data
*/
export function addDcBottomplaterivetingassemble(data) {
  return request({
    url: 'business/DcBottomplaterivetingassemble',
    method: 'post',
    data: data,
  })
}
/**
* 修改底板铆接组装
* @param data
*/
export function updateDcBottomplaterivetingassemble(data) {
  return request({
    url: 'business/DcBottomplaterivetingassemble',
    method: 'PUT',
    data: data,
  })
}
/**
* 获取底板铆接组装详情
* @param {Id}
*/
export function getDcBottomplaterivetingassemble(id) {
  return request({
    url: 'business/DcBottomplaterivetingassemble/' + id,
    method: 'get'
  })
}

/**
* 删除底板铆接组装
* @param {主键} pid
*/
export function delDcBottomplaterivetingassemble(pid) {
  return request({
    url: 'business/DcBottomplaterivetingassemble/delete/' + pid,
    method: 'delete'
  })
}
